all: mvm
run: 
	./mvm m.txt v.txt
mvm: mvm.c
	icc -Wall -I${TACC_PAPI_INC} -msse3 -axavx -O3 -mno-align-double -mfpmath=sse -fast  -c mvm.c
	icpc -Wl,-rpath,${TACC_PAPI_LIB} -L${TACC_PAPI_LIB} -lpthread -lpapi mvm.o -o mvm
	rm -f *.o
clean:
	rm -f *.o mvm
